package com.config.service;

import java.util.List;

import com.config.entity.EquStateConfig;

public interface EquStateConfigService {

	
	public void save(EquStateConfig entity);
	
	public void  update(EquStateConfig entity);
	
	public void delete(int id);
	
	public EquStateConfig getEquStateConfig(int id);
	
	public List<EquStateConfig> findAll();
	
	/**
	 * 分页显示所有记录
	 * @param start
	 * @param limit
	 * @return
	 */
	public List<EquStateConfig> findAll(int start,int limit);
	public int countByFindAll();
	
	//判断是否有重复
	public EquStateConfig isRepeat(String stateType);

}
